package wangxiaotao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import wangxiaotao.entity.RoomType;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wang
 * @since 2022-03-22
 */
public interface RoomTypeMapper extends BaseMapper<RoomType> {

    /**
     * 主页显示的房间类型数据
     * @return
     */
    @MapKey("id")
    List<Map<String, Object>> queryAllRoomTypeForShow();
}
